package org.jeecg.modules.demo.feign.controller;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.demo.feign.client.JeecgFeignDemoClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/sys/feignTest")
@Api(tags = "feign测试")
public class JeecgFeignDemoTest {

    //注入feign客户端
//    @Autowired
//    private JeecgFeignDemoClient jeecgFeignDemoClient;

//    @GetMapping("getMessage")
//    @ApiOperation(value = "feign测试" , notes = "feign测试")
//    public Result<String> getMessage(){
//        return jeecgFeignDemoClient.getMessage("Feign");
//    }


}
